[data-scope='tooltip'][data-part='content'] {
  background: black;
  color: white;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 14px;
}

[data-scope='tooltip'][data-part='content'][data-state='open'] {
  animation: fadeIn 0.5s ease-out;
}

[data-scope='tooltip'][data-part='content'][data-state='closed'] {
  animation: fadeOut 0.5s ease-in;
}

[data-scope='tooltip'][data-part='arrow'] {
  --arrow-size: 8px;
  --arrow-background: black;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
